package com.gitee.hermer.engine.jars.demo.boot;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScan.Filter;
import org.springframework.core.Ordered;
import org.springframework.core.annotation.Order;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Controller;

import com.gitee.hermer.engine.jars.app.sdk.annotate.EnableEngineScan;
import com.gitee.hermer.engine.jars.app.sdk.configuration.EngineAppAutoConfiguration;

@Configuration
@EnableEngineScan(basePackages = {"com.gitee.hermer.engine.jars.demo"})
@ComponentScan(basePackages = {"com.gitee.hermer.engine.jars.demo"}, excludeFilters = { @Filter(Controller.class), @Filter(Configuration.class) })
@Order(Ordered.LOWEST_PRECEDENCE + 500)
public class SpringRootConfig  implements Ordered{
	@Override
	public int getOrder() {
		
		return Ordered.LOWEST_PRECEDENCE + 500;
	}

}
